<?php

class config_url {

    private static $conf = array(
        'www'       => 'www.testing',
        'admin'     => 'admin.testing',
        'comment'   => 'admin.testing',
        'passport'  => 'passport.testing',

        'res'       => 'res.testing2',
        'static'    => 'static.testing2',

        'flash'     => array(
            'flash.testing2',
        ),

        'image'     => array(
            'i0.testing2',
            'i1.testing2',
            'i2.testing2',
            'i3.testing2',
        ),
    );

    public static function get($what){
        return 'http://'.self::$conf[$what].'/';
    }
}

